package com.zzl.gulimall.product.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zzl.common.utils.PageUtils;
import com.zzl.gulimall.product.entity.CategoryBrandRelationEntity;

import java.util.Map;

/**
 *
 * @author zzl
 * @email zhuangzhongliang@163.com
 * @date 2021-03-10 14:06:58
 */
public interface CategoryBrandRelationService extends IService<CategoryBrandRelationEntity> {

    PageUtils queryPage(Map<String, Object> params);

    void updateCategory(Long catId, String name);

    /**
     * 根据品牌Id 获取关联分类裂变
     * @param params
     * @return
     */
    PageUtils queryCateList(Map<String, Object> params);

    /**
     *保存关联关系
     * @param categoryBrandRelation
     */
    void saveDetail(CategoryBrandRelationEntity categoryBrandRelation);
}

